from django.conf.urls import url
from django.contrib import admin
from . import views
urlpatterns = [
    url(r'^$', views.index),
    url(r'^login/', views.login, name='login'),
    url(r'^index/', views.index, name='index'),
    url(r'^logout/', views.logout, name='logout'),

    url(r'^add/', views.add, name='add'),
    url(r'^editItem/', views.editItem, name='editItem'),
    url(r'^edit/', views.edit, name='edit'),
    url(r'^delete/', views.delete, name='delete'),

    url(r'^switchInfo/', views.switchInfo, name="switchInfo"),
    url(r'^content/', views.switchInfo, name="switchInfo"),
    url(r'^info/', views.switchInfo, name="switchInfo"),
]